//
// Created by wze-zero on 2024/8/22 022.
//
#include <iostream>
#include <iomanip>
#include <cmath>

using namespace std;

int main() {
    int a, b, c;
    double circumference, area;
    cin >> a >> b >> c;
    circumference = a + b + c;
    area = sqrt(circumference / 2 * (circumference / 2 - a) * (circumference / 2 - b) * (circumference / 2 - c));
    cout << fixed << setprecision(2) << "circumference=" << circumference << " area=" << area << endl;
    return 0;
}